package com.changgou.oauth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: LoginRedirect
 * @Auther: jeecg-boot
 * @Date: 2021/8/12 10:33
 * @Version 1.0
 */
@Controller
@RequestMapping("/oauth")
public class LoginRedirect {
    @RequestMapping("/login")
    public String login(String url, Model model){
        model.addAttribute("url",url);
        return "/login";
    }
}
